package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.GoodsEntity;
import io.renren.modules.app.req.GoodsListReq;
import io.renren.modules.app.vo.GoodsListVO;

import java.util.Map;

/**
 * 
 *
 * @author MR.XU
 * @email 260139486@qq.com
 * @date 2021-01-18 15:59:47
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 商品列表
     * @param page goodsListReq
     * @return
     */
    PageUtils getGoodsList(Page<GoodsListVO> page, GoodsListReq goodsListReq);
}

